package org.web.ssm.model;

import java.util.Date;

/**
 * Created by LUOLIANG on 2016/6/18.
 */
public class Shopping {
    private String id;
    private String content;
    private Date createtime;
    private boolean isfinish;
    private User user;

    public Shopping() {
    }

    public Shopping(String content, Date createtime, boolean isfinish, User user) {
        this.content = content;
        this.createtime = createtime;
        this.isfinish = isfinish;
        this.user = user;
    }

    @Override
    public String toString() {
        return "Shopping{" +
                "id='" + id + '\'' +
                ", content='" + content + '\'' +
                ", createtime=" + createtime +
                ", isfinish=" + isfinish +
                ", user=" + user +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public boolean isfinish() {
        return isfinish;
    }

    public void setIsfinish(boolean isfinish) {
        this.isfinish = isfinish;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
